//
//  TOListModel.m
//  SeaGullFM
//
//  Created by dllo on 15/11/19.
//  Copyright © 2015年 tianou. All rights reserved.
//

#import "WSListModel.h"

@implementation WSListModel

//@property(nonatomic,copy)NSString *title;
//@property(nonatomic,copy)NSString *contentType;
//@property(nonatomic,copy)NSNumber *count;
//@property(nonatomic,copy)NSNumber *categoryId;
//@property(nonatomic,copy)NSMutableArray *list;

-(instancetype)init
{
    self = [super init];
    if (self) {
        
    }
    return self;
}



-(void)setList:(NSMutableArray *)list{
    
    _list = list;
    NSMutableArray *array = [NSMutableArray array];
    
    for (NSDictionary *dic in _list) {
        
        WSChildListModel *childList = [WSChildListModel modelWithDictionary:dic];
        [array addObject:childList];
//        [childList release];
        
    }
    _list = [NSMutableArray arrayWithArray:array];
    
}




@end
